package com.yiyuan.app.entity.result;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.guaike.core.entity.annotation.NumberAutoConvert;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Author: zhangxilin
 * @Date: 2024/5/31
 */
@ApiModel("结果记录单条实体")
@Data
public class BasePineVO implements Serializable {

    @ApiModelProperty("记录时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private LocalDateTime createTime;

    @ApiModelProperty("奖励松果数")
    @NumberAutoConvert
    private Integer getPinecone;

}
